﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BI.CF.Model
{
    /// <summary>
    /// 借款记录表
    /// Record
    /// </summary>
    public class RecordModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int TID { get; set; }
        /// <summary>
        /// 借款人
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 借款金额
        /// </summary>
        public decimal PT_Money { get; set; }
        /// <summary>
        /// 利率
        /// </summary>
        public decimal InterestRate { get; set; }
        /// <summary>
        /// 资产证明
        /// </summary>
        public string AssetsCertification { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
        public int MemLoanId { get; set; }
        
        /// <summary>
        /// 借款金额
        /// </summary>
        public decimal LoanMoney { get; set; }
        /// <summary>
        /// 借款用途
        /// </summary>
        public string LoanPurpose { get; set; }
        /// <summary>
        /// 借款筹集期
        /// </summary>
        public int LoanRaise { get; set; }
        /// <summary>
        /// 利率
        /// </summary>
        public float Annualrate { get; set; }
        /// <summary>
        /// 借款期限
        /// </summary>
        public int LoanTerm { get; set; }
        /// <summary>
        /// 还款方式
        /// </summary>
        public string RepaymentModeId { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 借款说明
        /// </summary>
        public string LoanExplain { get; set; }
        /// <summary>
        /// 借款会员ID
        /// </summary>
        public int UserrId { get; set; }
        /// <summary>
        /// 发起借款时间
        /// </summary>
        public DateTime LaunchLoanTime { get; set; }
        /// <summary>
        /// 结束借款时间
        /// </summary>
        public DateTime EndLoanTime { get; set; }
        /// <summary>
        /// 还款日
        /// </summary>
        public DateTime RepaymentDay { get; set; }
        /// <summary>
        /// 付出利息
        /// </summary>
        public decimal PayInterest { get; set; }
        /// <summary>
        /// 还款总额
        /// </summary>
        public decimal RepaySumMoney { get; set; }
        /// <summary>
        /// 标的状态
        /// </summary>
        public string ExamineState { get; set; }
        /// <summary>
        /// 已筹集借款
        /// </summary>
        public decimal AlreadyRaiseLoan { get; set; }
        /// <summary>
        /// 笔数
        /// </summary>
        public int TotalTransactions { get; set; }
        /// <summary>
        /// 标的类型(类型有信用标或者抵押标)
        /// </summary>
        public string LoanType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <summary>
        /// 标的状态
        /// </summary>
        public string state { get; set; }
        /// <summary>
        /// 会员头像
        /// </summary>
        public string headimg { get; set; }
    }
}
